package com.iwhalecloud.bss.kite.cucc.spec.impl.query;

import com.iwhalecloud.bss.kite.dataservice.api.IQueryOfferCompPrefRstrCfgService;
import com.iwhalecloud.bss.kite.dataservice.entity.OfferCompPrefRstrCfg;
import com.iwhalecloud.bss.kite.dataservice.mapper.spec.OfferCompPrefRstrCfgMapper;
import com.ztesoft.bss.common.util.SpringUtil;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

@Service
public class OfferCompPrefRstrCfgQueryService implements IQueryOfferCompPrefRstrCfgService {

	@Override
	public List<OfferCompPrefRstrCfg> listOfferCompPrefRstrCfgs(String offerId, String offerCompId,
			String offerProdRelId) {
		OfferCompPrefRstrCfgMapper offerCompPrefRstrCfgMapper = SpringUtil
                .getBean(OfferCompPrefRstrCfgMapper.class);
            return offerCompPrefRstrCfgMapper.queryOfferCompPrefRstrCfg(offerId, offerCompId, offerProdRelId);
	}

	@Override
	public List<OfferCompPrefRstrCfg> listOfferCompPrefRstrCfgsByOfferCompId(String offerId) {
		return Collections.emptyList();
	}

}
